package com.water.guider.position

/**
 *  相对高亮区域中心的左侧位置.
 *  相对高亮区域底部.
 *  Created by zxn on 2021/7/2.
 */
class CenterLeftBottom : IPosition {

    override fun left(x: Int, highlightWidth: Int, width: Int): Int {
        return x - width
    }

    override fun top(y: Int, highlightHeight: Int, height: Int): Int {
        return y + highlightHeight / 2
    }
}